aspectframe: Derive from GtkWidget
authorMatthias Clasen <mclasen@redhat.com>
Fri, 1 May 2020 19:18:11 +0000 (15:18 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 4 May 2020 21:01:18 +0000 (17:01 -0400)
commit5b06b08a0e89dadf2161ceb30faceabcb15c9038
tree0bddf5b882d3938cb7af6f11c86167e0aca94ba0
parent1f63896c6b9d01930bb3ab04eb0bdd528eb46ab9
aspectframe: Derive from GtkWidget

We want to remove GtkBin and GtkContainer as they don't
provide much useful functionality anymore. This requires
us to move get_request_mode and compute_expand down.

We have to implement GtkBuildable, in order to keep
the <child> element in ui files working for aspect
frames.

See #2681
gtk/gtkaspectframe.c